package com.zdft.promotion.logging.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zdft.promotion.common.bean.AbstractBean;

import java.util.Date;

/**
 * 实体类：操作日志
 */
@TableName("TB_LOG_OPERATION")
@KeySequence("SEQ_LOG_OPERATION")
public class OperationLogBean extends AbstractBean
{
    /**
     * PK
     */
    @TableId(value = "ID", type = IdType.INPUT)
    private Long id;

    /**
     * 模块
     */
    private String module;

    /**
     * 操作
     */
    private String function;

    /**
     * 描述
     */
    private String desc;

    /**
     * 入参
     */
    private String params;

    /**
     * 出参
     */
    private String returns;

    /**
     * 操作时间
     */
    private Date operateTime;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getModule()
    {
        return module;
    }

    public void setModule(String module)
    {
        this.module = module;
    }

    public String getFunction()
    {
        return function;
    }

    public void setFunction(String function)
    {
        this.function = function;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getParams()
    {
        return params;
    }

    public void setParams(String params)
    {
        this.params = params;
    }

    public String getReturns()
    {
        return returns;
    }

    public void setReturns(String returns)
    {
        this.returns = returns;
    }

    public Date getOperateTime()
    {
        return operateTime;
    }

    public void setOperateTime(Date operateTime)
    {
        this.operateTime = operateTime;
    }
}
